<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>自围浮动</title>
</head>
<style>
  img {
    float: left;
  }
</style>

<body>
  <img src="./图片/1.png" alt="">
  <!-- 文字会把图片围起来 -->
  <div>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
    <span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span><span>我是div标签</span>
  </div>

</body>

</html>